package com.sky.mapper;

import com.sky.annotation.AutoFill;
import com.sky.entity.DishFlavor;
import com.sky.entity.Setmeal;
import com.sky.entity.SetmealDish;
import com.sky.enumeration.OperationType;
import com.sky.vo.DishItemVO;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SeteamlDishMapper {

    List<Long> getSeteamlDishIdsByDishIds(List<Long> dishIds);

    void insertSetmealDish(List<SetmealDish> setmealDishes);

    @Select("select * from setmeal_dish where setmeal_id  = #{id}")
    List<SetmealDish> getSeteamlDishById(Long id);

    void delete(List<Long> ids);


}
